package com.example.campsystem.service;

import com.example.campsystem.entity.Favorites;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author GJC
* @description 针对表【favorites(收藏表)】的数据库操作Service
* @createDate 2025-04-20 23:23:47
*/
public interface FavoritesService extends IService<Favorites> {

    List<Favorites> getFavoritesList(Long userId);

    boolean delete(Favorites favorites);

    boolean add(Favorites favorites);

    boolean check(Favorites favorites);
}
